/* 
    Document   : buttons
    Created on : 05.03.2010, 14:56:23
    Author     : and
    Description:
        Purpose of the stylesheet follows.
*/


/* *************** Controls definition *************** */
.button,
.button:hover,
.button:active,
.button[disabled],
.button[disabled]:active
{
    text-decoration: none;
    border: 1px solid #aaa;
    color: #444;
    background: #fff url('../images/button.jpg') repeat-x 100% 0%;
    padding: 2px 6px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-outline-style: none;
    outline: 0;
    margin: 0;
    cursor: pointer;
}

.button:hover {
    color: #222;
    border: 1px solid #222;
}

.button:active {
    background-image: url('../images/button-a.jpg');
}

.button[disabled],
.button[disabled]:active
{
    color: #888;
    border: 1px solid #ccc;
}

.button.tag {
	font-size: 80%;
	background: #a3a3a3;
	color: #fff;
	text-shadow: 0 1px 1px #000;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-khtml-border-radius: 12px;
	border-radius: 12px;
	border: 0;
	padding-left: 8px;
	padding-right: 8px;
	-moz-user-select: none;
	white-space: nowrap;
}

.button.tag:hover {
	background: #666;
	border: 0;
}

.button.tag:active {
	background: #555;
	border: 0;
}

.select, .select:hover, .select:focus,
.multiselect, .multiselect:hover, .multiselect:focus
{
    border: 1px solid #aaa;
    color: #444;
    padding: 1px;
    outline: 0;
    margin: 0;
}

.select:hover, .select:focus,
.multiselect:hover, .multiselect:focus
{
    border: 1px solid #222;
    color: #222;
}

.multiselect, .multiselect:hover, .multiselect:focus {
    height: auto;
}

.textbox,
.textbox:hover,
.textarea,
.textarea:hover,
.textarea:focus,
.textbox:focus
{
    padding: 2px;
    border: 1px solid #aaa;
    color: #444;
    background: #fff url('../images/text-ns.jpg') repeat-x 0 0;
}

.textarea:hover,
.textbox:hover,
.textarea:focus,
.textbox:focus
{
    border: 1px solid #222;
    color: #222;
}

.checkbox {
    cursor: pointer;
}

/* *************** ~Controls definition *************** */

/* *************** Default forms definition *************** */
.form-field
{
    margin: 15px 0;
}

.form-field.first {
    margin-top: 0;
}

.form-field.last {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin: 5px 0;
}

.form-field.inline {
	margin: 5px 0;
}

.form-field.inline label.form-caption {
	display: inline;
}

.form-field .checkbox {
    margin: 5px 0;
}

.form-field .radio-group label {
	white-space: nowrap;
}

.form-field .radio-group, .form-field .checkbox-group {
	overflow:hidden;
	padding-left:3px;
}

.form-field.float .radio-group label, .form-field.float .checkbox-group label {
	float:left;
	margin-right:5px;
}

.form-field.column,
.form-field.wide
{
    float: left;
    margin-right: 20px;
    width: 215px;
}

.form-field.column.short {
	width: 113px;
}

.form-field.thin {
	margin-right: 0;
	margin-bottom: 0;
}

.form-field.column-last {
	margin-right: 0;
}

.form-field.wide {
    width: 450px;
}

.form-field .description
{
    font-size: 11px;
    font-style: italic;
    padding: 5px 0;
}

.form-field .textbox
{
    width: 209px;
}

.form-field select {
	width: 215px;
}

.form-field textarea
{
    width: 444px;
    height: 100px;
	resize: none;
}

.form-field textarea.shorttext
{
	height: 50px;
}

.form-field .textbox.longtext
{
    width: 444px;
}

.form-field .select.longtext {
	width: 450px;
}

.form-field .textbox.shorttext,
.form-field .selectbox.shorttext
{
    width: 107px;
}

.form-submit {
    margin: 15px 0;
}

.fieldset {
    border-top: 1px solid #ccc;
    padding: 10px 0px 10px 0;
	background-image: url('../../../i/tabs-active.jpg');
	background-repeat: repeat-x;
	position: relative;
}

.fieldset:first-child .form-field {
	margin-top: 0;
}

.fieldset legend,
.form-field legend {
    padding: 0px 10px;
	font-size: 14px;
    font-weight: normal;
	text-shadow: 0 0 1px #fff;
}

.form-field .slider {
	margin: 10px 0;
}

/* margins fix, CSS3 */
.form-field:not(.column) ~ .column {
	/*background-color: #55ffff;*/
	margin-top: 0;
}

.column ~ .form-field:not(.column) {
	/*background-color: #55ff00;*/
	margin-top: 0;
}

/* Validation related stuff */

.form-field .required {
	color: #cc0000;
}

.form-popup {
	border: 1px solid #222;
	background: #fff url('../images/text-ns.jpg') repeat-x 0 0;
	padding: 2px;
	position: absolute;
	z-index: 1;
	max-height: 200px;
	overflow: auto;
	margin-top: 1px;
}

.form-popup ul {
	margin: 0;
	padding: 0;
}

.form-popup li {
	font-size: 11px;
	padding: 1px 0;
	cursor: pointer;
}

.form-popup li:hover {
	background: #eee;
}

/* *************** ~Default forms definition *************** */
